package com.ux.iot.core.exception;

import com.ux.iot.core.constant.ErrorCode;
import lombok.extern.slf4j.Slf4j;

/**
 * @author caixiaodao
 * @version 1.0
 * 功能描述
 * iot 连接异常
 * @date 2021/11/15 16:55
 */
@Slf4j
public class IotClientConnectException  extends  IotMsgServiceException{
    public IotClientConnectException(String message) {

        super(message);
        log.error("异常{}",message);
    }
    public IotClientConnectException(ErrorCode message) {
        super(message.getText());
        log.error("异常{}",message);
    }
    public IotClientConnectException(ErrorCode code,String msg) {
        super(msg);
        log.error("异常{}",msg);
    }
}
